FolderExists

 

Check the existence of folder

 

int @FolderExists(string foldername);

 

Parameters

string foldername : Name of folder. It needs absoulte path.

 

Return Value

If it returns 1, the folder is, and if it returns 0, the folder does not be.

 

Example

retn = @FolderExists("c:\\Sample");

if(retn == 1) {

   @Message("Folder exists."); 

}

else {

   @Message("Folder not exists."); 

}

 

Description : Check the C: drive to see if the "Sample" folder exists, and if it exists, it will show the message "Folder exists". If it does not exists, it will show the message "Folder not exists"

 

Version Information

Supported Version: 10.3.0

 

Related Helps

@FolderCreate()

@FolderDelete()

@FolderExists()